package com.patterns.builder;

/**
 * 调用者
 * @author huangke
 *
 */
public class Test {
	public static void main(String[] args) {
		GameMapBuilder builder = new CsGameMapBuilder();
		GameMapDirector director = new CsGameMapDirector(builder);
		GameMap map = director.createCsGameMap();
		map.run(); // >> 建了一张地图:绿色的树,天气晴朗,温度28℃
	}
}
